#pragma once

#include <QtGui/QGraphicsView>

class QtGraphicsStateView : public QGraphicsView
{
	Q_OBJECT
public:
	QtGraphicsStateView(QWidget* parent = 0);
	QtGraphicsStateView(QGraphicsScene* scene, QWidget* parent = 0);
	virtual ~QtGraphicsStateView(void);
protected:
	void resizeEvent(QResizeEvent *event);
public slots:
	void createState();
};
